<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('选择专家')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="c-pid" data-live-search="true" data-rule="required" multiple="" class="form-control selectpicker"  name="row[pid][]">
                {foreach name="row" item="vo"}
                <option value="{$vo.id}" {if condition="in_array($vo.id,$ids_ar)"}selected {/if}>{$vo.name}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <input type="hidden" name="row[time]" value="{$data.time}">
    <input type="hidden" name="row[date]" value="{$data.date}">

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
